# 指定工程所要使用的Qt模块
QT += gui
QT += core widgets

# 指定可执行文件或库的基本文件名，默认为当前目录名
TARGET = dllQLsPluginsManagerAppfwk

# 指定生成makefile类型
TEMPLATE = lib

# 指定工程配置和编译参数
CONFIG += c++11
CONFIG += object_parallel_to_source

# 指定预定义预处理器符号
DEFINES += DLLQLSPLUGINSMANAGERAPPFWK_LIBRARY
DEFINES += QT_DEPRECATED_WARNINGS

# 指定C++实现文件
SOURCES += \
    qlspluginsmanagerappfwk.cpp \
    qlspluginsmanagertablewidget.cpp \
    qlspluginwidget.cpp \
    qlsvtabbar.cpp

# 指定C++头文件
HEADERS += \
    dllQLsPluginsManagerAppfwk_global.h \
    qlspluginsmanagerappfwk.h \
    qlspluginsmanagertablewidget.h \
    qlspluginwidget.h \
    qlsvtabbar.h

FORMS += \
    qlspluginsmanagertablewidget.ui \
    qlspluginwidget.ui

# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target

# 指定release模式编译时的配置
CONFIG(release, debug|release) {
    # 指定可执行文件放置的目录
    DESTDIR = ../../../bin/release
    # 指定目标文件(obj)生成的目录
    OBJECTS_DIR = ../../../lib/release/dllQLsPluginsManagerAppfwk
    # 指定ui_.h文件生成路径
    UI_DIR = release
    # 指定目标库文件放置的目录
#    DLLDESTDIR = ../../../bin/release
}

# 指定debug模式编译时的配置
CONFIG(debug, debug|release) {
    # 指定可执行文件放置的目录
    DESTDIR = ../../../bin/debug
    # 指定目标文件(obj)生成的目录
    OBJECTS_DIR = ../../../lib/debug/dllQLsPluginsManagerAppfwk
    # 指定ui_.h文件生成路径
    UI_DIR = debug
    # 指定目标库文件放置的目录
#    DLLDESTDIR = ../../../bin/debug
}

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../bin/release/ -ldllQsLog
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../bin/debug/ -ldllQsLog
else:unix: LIBS += -L$$PWD/../../../bin/ -ldllQsLog

INCLUDEPATH += $$PWD/../../../bin/release
DEPENDPATH += $$PWD/../../../bin/release

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../bin/release/ -ldllQLsLog
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../bin/debug/ -ldllQLsLog
else:unix: LIBS += -L$$PWD/../../../bin/ -ldllQLsLog

INCLUDEPATH += $$PWD/../../../bin/release
DEPENDPATH += $$PWD/../../../bin/release

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../bin/release/ -ldllQLsThemesManager
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../bin/debug/ -ldllQLsThemesManager
else:unix: LIBS += -L$$PWD/../../../bin/ -ldllQLsThemesManager

INCLUDEPATH += $$PWD/../../../bin/release
DEPENDPATH += $$PWD/../../../bin/release

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../bin/release/ -ldllQLsPluginsManager
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../bin/debug/ -ldllQLsPluginsManager
else:unix: LIBS += -L$$PWD/../../../bin/ -ldllQLsPluginsManager

INCLUDEPATH += $$PWD/../../../bin/release
DEPENDPATH += $$PWD/../../../bin/release
